package com.ytkj.tradeserver.utils;

import java.util.UUID;

/**
 * Created by Administrator on 2017/3/18.
 */
public class StringOpUtils {

    public static String getUuidStr(){

        String uuid = UUID.randomUUID().toString().substring(0,25).replaceAll("-","");

        return uuid;
    }

    public static String getSuffixStr(String str){
        int index = str.indexOf(".") + 1;
        return str.substring(index,str.length());
    }

    public static void main(String[] args) {
        System.out.println( getSuffixStr("ss.xlsx") );
    }
}
